﻿using System.Net;

namespace iTool.Common.Options
{
    public class EndpointsOptions
    {
        /// <summary>
        /// 对外访问ID
        /// </summary>
        public IPAddress AdvertisedIP { get; set; } = null;
        /// <summary>
        /// 集群间通信端口
        /// </summary>
        public int Port { get; set; } = 11111;
        /// <summary>
        /// 客户端通信
        /// </summary>
        public int GatewayPort { get; set; } = 22222;
    }
}
